home *** CD-ROM | disk | FTP | other *** search
- Subject: Re:Bug in ODFDraw DR1
- Sent: 5/30/96 12:16 PM
- Received: 5/30/96 12:21 PM
- From: Greg Friedman, friedman@cognosis.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- At 8:14 AM 5/30/96, Arni McKinley wrote:> Henri,
- >
- > A line needs to be changed in ODFDraw's CBaseShape::GetProperty():
- >
- > From:
- > -> case kTextShapeType:
- > shapeType = kTextShapeType;
- > break;
- > To:
- > -> case kTextShape:
- > shapeType = kTextShapeType;
- > break;
-
- Arni,
-
- You're correct...this is a bug in ODF 1. I've made some significant changes
- to Draw's scripting support for release 2 that make the fix obsolete. In
- Release 1, shapes have a "type" property. Shapes of type "circle", for
- example, can be specified as "shapes whose type is circle". In release 2,
- Draw implements shapes as objects, enabling the previous snippet to be
- replaced with "circles" or "shapes whose class is circle".
-
- Greg.
-
-
- _________________________________________________________
- Greg Friedman ODF Engineering Apple Computer
-
-